//
//  PCAccountManager.h
//  PromotionCode
//
//  Created by uuu9 on 2017/11/16.
//  Copyright © 2017年 My. All rights reserved.
//

#import "BaseNetManager.h"
@class AccountModel,MarketingCodeModel,PCPointsListModel,PCTuiguangModel,PCTuiguangListModel;

@interface PCAccountManager : BaseNetManager

+(void)getAccountWithUserid:(NSString *)userid andSession:(NSString *)session andCompletionHandle:(void (^)(AccountModel *model, NSError *error))complete;

+(void)bindWithUserid:(NSString *)userid andSession:(NSString *)session andPhone:(NSString *)phone andCode:(NSString *)code andCompletionHandle:(void (^)(AccountModel *model, NSError *))complete;

+ (void)getFinancialStatusWithCompletionHandle:(void (^)(NSInteger, NSError *))complete;

+ (void)signWithUserid:(NSString *)userid andSession:(NSString *)session andCompletionHandle:(void (^)(AccountModel *model, NSError *))complete;

+ (void)setMarketingCodeWithUserid:(NSString *)userid andSession:(NSString *)session andCode:(NSString *)code andCompletionHandle:(void (^)(MarketingCodeModel *, NSError *))complete;

+ (void)getTuiguangInfoWithUserid:(NSString *)userid andSession:(NSString *)session andCompletionHandle:(void (^)(MarketingCodeModel *, NSError *))complete;

+ (void)getPointsRankListWithCompletionHandle:(void (^)(PCPointsListModel *model, NSError *error))complete;

+ (void)getPointsLatestListWithCompletionHandle:(void (^)(PCPointsListModel *, NSError *))complete;

+ (void)getTuiguangImageWithCompletionHandle:(void (^)(PCTuiguangModel *, NSError *))complete;

+ (void)getTuiguangListWithUserid:(NSString *)userid andSession:(NSString *)session andCompletionHandle:(void (^)(PCTuiguangListModel *model, NSError *error))complete;

+ (void)modifyNickNameWithUserid:(NSString *)userid andSession:(NSString *)session andNickname:(NSString *)nickname andCompletionHandle:(void (^)(AccountModel *model, NSError *))complete;



@end
